#-*- coding: utf-8 -*-
"""
@author: Bruno Figueira 11234
@author: Luis Pereira 12784
@last updated: 25-11-2014
@obs: Main
"""

from view.gui import MyFrame
import wx

class MainGUI(wx.App):
    """
    Classe main para correr o programa
    """
    def OnInit(self):
        wx.InitAllImageHandlers()
        frame_1 = MyFrame(None, -1, "")
        self.SetTopWindow(frame_1)
        frame_1.Show()
        return 1


if __name__ == "__main__":
    IPC_Portugal = MainGUI(0)
    IPC_Portugal.MainLoop()